using System;
using System.Collections.Generic;

namespace HISModels.Entities
{
	public class PatientRelative
	{
	    public PatientRelative()
		{
			this.Addresses = new List<Address>();
		}

		public int Id { get; set; }
		public int PatientId { get; set; }
		public int RelativeId { get; set; }
		public Nullable<int> FamilyRelativeTypeId { get; set; }
		public Nullable<int> OthRelativeTypeId { get; set; }
		public string NextOfKin { get; set; }
		public string FirstName { get; set; }
		public string LastName { get; set; }
		public Nullable<System.DateTime> BirthDate { get; set; }
		public string PhoneNumber { get; set; }
		public string MobilePhoneNumber { get; set; }
		public string Email { get; set; }
		public string Note { get; set; }
		public virtual ICollection<Address> Addresses { get; set; }
		public virtual Patient Patient { get; set; }
		public virtual RefFamilyRelativeType RefFamilyRelativeType { get; set; }
		public virtual RefOthRelativeType RefOthRelativeType { get; set; }
	}
}

